﻿using Manon.Autofac;
using Manon.Core.Commons;
using Manon.Gateway.ApplicationCore.Dtos.GlobalConfiguration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Manon.Gateway.ApplicationCore.Interfaces
{
    public interface IGlobalConfigurationService : ISingletonDependency
    {
        /// <summary>
        /// 保存全局设置
        /// </summary>
        /// <param name="Input"></param>
        /// <returns></returns>
        Task<Result> SaveGlobalConfiguration(SaveGlobalConfigurationInput Input);

        /// <summary>
        /// 获取全局设置
        /// </summary>
        /// <param name="Input"></param>
        /// <returns></returns>
        Task<GetGlobalConfigurationOutput> GetGlobalConfiguration();
    }
}
